package org.setamv.springcloud.dto;

import java.io.Serializable;

public class OpsResponse implements Serializable {

    private static final long sreialVersionUID = 1L;

    public static final OpsResponse SUCCEED = new OpsResponse(200, null);

    private Integer code;

    private String error;

    public OpsResponse(Integer code, String error) {
        this.code = code;
        this.error = error;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
